package com.gitee.genezhao.bean;

import lombok.*;

/**
 * Description:
 *
 * @Author: genezhao
 * @Date: 2018-05-28
 */
@RequiredArgsConstructor(staticName = "of")
@AllArgsConstructor(access = AccessLevel.PROTECTED)
public class ConstructorExample<T>{


    private int x, y;
    @NonNull
    private T description;

    @NoArgsConstructor
    public static class NoArgsExample {
        @NonNull private String field;
    }
}
